package com.cdz.mapper;


import com.cdz.domain.ChargingPileInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface ChargingPileInfoMapper {

    //查询充电桩初始绑定密码
    String selectChargingPilePassword(String chargingPileId);

    int updateChargingPileInfo(ChargingPileInfo chargingPileInfo);

    ChargingPileInfo getStatus(String chargingPileId);

    void setPnpStatus(String chargingPileId, int PNP_SW);

    List<ChargingPileInfo> getPiles();

    int getPNPStatus(String chargingPileId);

    void initChargingPileInfo(ChargingPileInfo chargingPileInfo);

    boolean ifExits(String chargingPileId);

    void setUpdate0(String chargingPileId, int updateStatus);


    void emptyDataByChargingPileId(String chargingPileId);
}
